package com.hadoop.util.address;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class OptionTownMap {

    public final static Map<Integer, Map<String, String>> OPT_MAP_TOWN = new LinkedHashMap<>();
    public static Map<Integer, List<Map<String, String>>> OPT_MAP_CITY_TWON = null;//保存城市与其下对应镇区

    /**
     * 简历根据城市对应镇区的关系map
     */
    private static void fillCityTwonMap() {
        Map<Integer, List<Map<String, String>>> tempCityTownMap = Maps.newHashMap();
        for (Map.Entry<Integer, Map<String, String>> entry : OPT_MAP_TOWN.entrySet()) {
            Integer cityCode = Integer.parseInt(OptionMap.getCityCodeBits(entry.getKey()));//获取城市代码
            List<Map<String, String>> tempList = tempCityTownMap.get(cityCode);
            if (tempCityTownMap.get(cityCode) == null) {
                tempList = Lists.newArrayList();
                tempCityTownMap.put(cityCode, tempList);
            }
            Map<String, String> tempMapCity = entry.getValue();
            Map<String, String> result = Maps.newHashMap(tempMapCity);
            result.put("code", entry.getKey() + "");
            tempList.add(result);
        }
        for (Map.Entry<Integer, List<Map<String, String>>> entry : tempCityTownMap.entrySet()) {
            entry.setValue(ImmutableList.copyOf(entry.getValue()));
        }
        OPT_MAP_CITY_TWON = ImmutableMap.copyOf(tempCityTownMap);
    }

    static {
        OPT_MAP_TOWN.put(11000100, setTownMap("东城区", "dongcheng","116.422752","39.934774"));
        OPT_MAP_TOWN.put(11000200, setTownMap("西城区", "xicheng","116.372453","39.918192"));
        OPT_MAP_TOWN.put(11000300, setTownMap("崇文区", "chongwen","116.419289","39.89857"));
        OPT_MAP_TOWN.put(11000400, setTownMap("宣武区", "xuanwu","116.395648","39.902701"));
        OPT_MAP_TOWN.put(11000500, setTownMap("朝阳区", "chaoyang","116.479726","39.962493"));
        OPT_MAP_TOWN.put(11000600, setTownMap("丰台区", "fengtai","116.292658","39.864815"));
        OPT_MAP_TOWN.put(11000700, setTownMap("石景山区", "shijingshan","116.229566","39.911356"));
        OPT_MAP_TOWN.put(11000800, setTownMap("海淀区", "haidian","116.304581","39.966148"));
        OPT_MAP_TOWN.put(11000900, setTownMap("门头沟", "mentougou","116.108068","39.946236"));
        OPT_MAP_TOWN.put(11001000, setTownMap("房山区", "fangshan","116.149674","39.754186"));
        OPT_MAP_TOWN.put(11001100, setTownMap("通州区", "tongzhou","116.663229","39.916241"));
        OPT_MAP_TOWN.put(11001200, setTownMap("顺义区", "shunyi","116.66109","40.136509"));
        OPT_MAP_TOWN.put(11001300, setTownMap("昌平区", "changping","116.237899","40.226386"));
        OPT_MAP_TOWN.put(11001400, setTownMap("大兴区", "daxing","116.348049","39.732474"));
        OPT_MAP_TOWN.put(11001500, setTownMap("平谷区", "pinggu","117.127598","40.14698"));
        OPT_MAP_TOWN.put(11001600, setTownMap("怀柔区", "huairou","116.638153","40.322325"));
        OPT_MAP_TOWN.put(11001700, setTownMap("密云区", "miyun","116.849721","40.382711"));
        OPT_MAP_TOWN.put(11001800, setTownMap("延庆县", "yanqing","115.981702","40.462347"));
        OPT_MAP_TOWN.put(10000100, setTownMap("黄浦区", "huangpu","121.491194","31.237385"));
        OPT_MAP_TOWN.put(10000200, setTownMap("卢湾区", "luwan","121.483681","31.215571"));
        OPT_MAP_TOWN.put(10000300, setTownMap("徐汇区", "xuhui","121.442884","31.194922"));
        OPT_MAP_TOWN.put(10000400, setTownMap("长宁区", "changning","121.430865","31.226538"));
        OPT_MAP_TOWN.put(10000500, setTownMap("静安区", "jingan","121.46236","31.229773"));
        OPT_MAP_TOWN.put(10000600, setTownMap("普陀区", "putuo","121.403518","31.255115"));
        OPT_MAP_TOWN.put(10000700, setTownMap("闸北区", "zhabei","121.45056","31.282377"));
        OPT_MAP_TOWN.put(10000800, setTownMap("虹口区", "hongkou","121.511754","31.270152"));
        OPT_MAP_TOWN.put(10000900, setTownMap("杨浦区", "yangpu","121.532298","31.265784"));
        OPT_MAP_TOWN.put(10001000, setTownMap("闵行区", "minhang","121.388373","31.118524"));
        OPT_MAP_TOWN.put(10001100, setTownMap("宝山区", "baoshan","121.495975","31.410955"));
        OPT_MAP_TOWN.put(10001200, setTownMap("嘉定区", "jiading","121.272825","31.38049"));
        OPT_MAP_TOWN.put(10001300, setTownMap("浦东新区", "pudongxinqu","121.550546","31.227402"));
        OPT_MAP_TOWN.put(10001400, setTownMap("金山区", "jinshan","121.348888","30.748005"));
        OPT_MAP_TOWN.put(10001500, setTownMap("松江区", "songjiang","121.235414","31.038183"));
        OPT_MAP_TOWN.put(10001600, setTownMap("南汇区", "nanhui","121.741754","31.065565"));
        OPT_MAP_TOWN.put(10001700, setTownMap("奉贤区", "fengxian","121.480576","30.9238"));
        OPT_MAP_TOWN.put(10001800, setTownMap("青浦区", "qingpu","121.480576","30.9238"));
        OPT_MAP_TOWN.put(10001900, setTownMap("崇明县", "chongming","121.403849","31.628676"));
        OPT_MAP_TOWN.put(12000100, setTownMap("和平区", "heping","117.221175","39.123189"));
        OPT_MAP_TOWN.put(12000200, setTownMap("河东区", "hedong","117.258679","39.135033"));
        OPT_MAP_TOWN.put(12000300, setTownMap("河西区", "hexi","117.229778","39.115766"));
        OPT_MAP_TOWN.put(12000400, setTownMap("南开区", "nankai","117.156628","39.144152"));
        OPT_MAP_TOWN.put(12000500, setTownMap("河北区", "hebei","117.203337","39.153791"));
        OPT_MAP_TOWN.put(12000600, setTownMap("红桥区", "hongqiao","117.157204","39.173215"));
        OPT_MAP_TOWN.put(12000700, setTownMap("塘沽区", "tanggu","117.651277","39.025724"));
        OPT_MAP_TOWN.put(12000800, setTownMap("汉沽区", "hangu","117.817124","39.255033"));
        OPT_MAP_TOWN.put(12000900, setTownMap("大港区", "dagang","117.467652","38.849428"));
        OPT_MAP_TOWN.put(12001000, setTownMap("东丽区", "dongli","117.320779","39.092272"));
        OPT_MAP_TOWN.put(12001100, setTownMap("西青区", "xiqing","117.015256","39.147511"));
        OPT_MAP_TOWN.put(12001200, setTownMap("津南区", "jinnan","117.363482","38.943852"));
        OPT_MAP_TOWN.put(12001300, setTownMap("北辰区", "beechen","117.141983","39.230103"));
        OPT_MAP_TOWN.put(12001400, setTownMap("宁河县", "ninghe","117.831064","39.33666"));
        OPT_MAP_TOWN.put(12001500, setTownMap("武清区", "wuqing","117.050703","39.389041"));
        OPT_MAP_TOWN.put(12001600, setTownMap("静海县", "jinghai","116.980762","38.953462"));
        OPT_MAP_TOWN.put(12001700, setTownMap("宝坻区", "baodi","117.316452","39.723254"));
        OPT_MAP_TOWN.put(12001800, setTownMap("蓟县", "jicounty","117.414875","40.051477"));
        OPT_MAP_TOWN.put(12001900, setTownMap("滨海新区", "binhaixinqu","117.717113","39.009827"));
        OPT_MAP_TOWN.put(13000100, setTownMap("万州区", "wanzhou","108.415285","30.813631"));
        OPT_MAP_TOWN.put(13000200, setTownMap("涪陵区", "fuling","107.396243","29.709426"));
        OPT_MAP_TOWN.put(13000300, setTownMap("渝中区", "yuzhong","106.57534","29.559246"));
        OPT_MAP_TOWN.put(13000400, setTownMap("大渡口区", "dadukou","106.488876","29.490284"));
        OPT_MAP_TOWN.put(13000500, setTownMap("江北区", "jiangbei","106.580769","29.612869"));
        OPT_MAP_TOWN.put(13000600, setTownMap("沙坪坝区", "shapingba","106.4642","29.547189"));
        OPT_MAP_TOWN.put(13000700, setTownMap("九龙坡区", "jiulongpo","106.517589","29.508039"));
        OPT_MAP_TOWN.put(13000800, setTownMap("南岸区", "nanan","106.568827","29.528034"));
        OPT_MAP_TOWN.put(13000900, setTownMap("北碚区", "beibei","106.402781","29.811689"));
        OPT_MAP_TOWN.put(13001000, setTownMap("万盛区", "wansheng","106.930278","28.959281"));
        OPT_MAP_TOWN.put(13001100, setTownMap("双桥区", "shuangqiao","105.777148","29.490774"));
        OPT_MAP_TOWN.put(13001200, setTownMap("渝北区", "yubei","106.771621","29.857368"));
        OPT_MAP_TOWN.put(13001300, setTownMap("巴南区", "banan","106.546912","29.408525"));
        OPT_MAP_TOWN.put(13001400, setTownMap("长寿区", "changshou","107.087457","29.863625"));
        OPT_MAP_TOWN.put(13001500, setTownMap("綦江县", "qijiang","106.93533","28.971505"));
        OPT_MAP_TOWN.put(13001600, setTownMap("潼南县", "tongnan","105.846664","30.196914"));
        OPT_MAP_TOWN.put(13001700, setTownMap("铜梁县", "tongliang","106.062819","29.850843"));
        OPT_MAP_TOWN.put(13001800, setTownMap("大足县", "dazu","105.786482","29.492541"));
        OPT_MAP_TOWN.put(13001900, setTownMap("荣昌县", "rongchang","105.600856","29.411163"));
        OPT_MAP_TOWN.put(13002000, setTownMap("璧山县", "bishan","106.23377","29.598027"));
        OPT_MAP_TOWN.put(13002100, setTownMap("梁平县", "liangping","107.810358","30.679994"));
        OPT_MAP_TOWN.put(13002200, setTownMap("城口县", "chengkou","108.670947","31.95337"));
        OPT_MAP_TOWN.put(13002300, setTownMap("丰都县", "fengdu","107.737419","29.869532"));
        OPT_MAP_TOWN.put(13002400, setTownMap("垫江县", "dianjiang","107.339441","30.333319"));
        OPT_MAP_TOWN.put(13002500, setTownMap("武隆县", "wulong","107.766366","29.331767"));
        OPT_MAP_TOWN.put(13002600, setTownMap("忠县", "zhongxian","108.044186","30.30606"));
        OPT_MAP_TOWN.put(13002700, setTownMap("开县", "kaixian","108.399613","31.166929"));
        OPT_MAP_TOWN.put(13002800, setTownMap("云阳县", "yunyang","108.703395","30.936774"));
        OPT_MAP_TOWN.put(13002900, setTownMap("奉节县", "fengjie","109.470533","31.024557"));
        OPT_MAP_TOWN.put(13003000, setTownMap("巫山县", "wushan","109.885336","31.080444"));
        OPT_MAP_TOWN.put(13003100, setTownMap("巫溪县", "wuxi","109.576565","31.404888"));
        OPT_MAP_TOWN.put(13003200, setTownMap("黔江区", "qianjiang","108.777604","29.53901"));
        OPT_MAP_TOWN.put(13003300, setTownMap("石柱县", "shizhu","108.120564","30.005983"));
        OPT_MAP_TOWN.put(13003400, setTownMap("秀山县", "xiushan","109.013634","28.453941"));
        OPT_MAP_TOWN.put(13003500, setTownMap("酉阳县", "youyang","109.013716","28.454076"));
        OPT_MAP_TOWN.put(13003600, setTownMap("彭水县", "pengshui","108.170065","29.29392"));
        OPT_MAP_TOWN.put(13003700, setTownMap("江津区", "jiangjin","106.265949","29.29582"));
        OPT_MAP_TOWN.put(13003800, setTownMap("合川区", "hechuan","106.282914","29.978104"));
        OPT_MAP_TOWN.put(13003900, setTownMap("永川区", "yongchuan","105.933574","29.361973"));
        OPT_MAP_TOWN.put(13004000, setTownMap("南川区", "nanchuan","107.105821","29.163498"));
        OPT_MAP_TOWN.put(13004100, setTownMap("两江新区", "liangjiangxinqu","106.514054","29.607427"));
        OPT_MAP_TOWN.put(14030100, setTownMap("荔湾区", "liwan","113.250777","23.131766"));
        OPT_MAP_TOWN.put(14030200, setTownMap("越秀区", "yuexiu","113.273218","23.135269"));
        OPT_MAP_TOWN.put(14030300, setTownMap("海珠区", "haizhu","113.323753","23.089204"));
        OPT_MAP_TOWN.put(14030400, setTownMap("天河区", "tianhe","113.368499","23.130498"));
        OPT_MAP_TOWN.put(14030500, setTownMap("白云区", "baiyun","113.279671","23.164246"));
        OPT_MAP_TOWN.put(14030600, setTownMap("黄埔区", "huangpu","113.487221","23.187255"));
        OPT_MAP_TOWN.put(14030700, setTownMap("番禺区", "panyu","113.391098","22.943727"));
        OPT_MAP_TOWN.put(14030800, setTownMap("花都区", "huadu","113.226831","23.409573"));
        OPT_MAP_TOWN.put(14030900, setTownMap("南沙区", "nansha","113.531415","22.808014"));
        OPT_MAP_TOWN.put(14031000, setTownMap("萝岗区", "luogang","113.487221","23.187255"));
        OPT_MAP_TOWN.put(14031100, setTownMap("增城市", "zengcheng","113.817444","23.266629"));
        OPT_MAP_TOWN.put(14031200, setTownMap("从化市", "conghua","113.592909","23.554519"));
        OPT_MAP_TOWN.put(14020100, setTownMap("罗湖区", "luohu","114.138092","22.554657"));
        OPT_MAP_TOWN.put(14020200, setTownMap("福田区", "futian","114.061526","22.527217"));
        OPT_MAP_TOWN.put(14020300, setTownMap("南山区", "nanshan","113.936943","22.539057"));
        OPT_MAP_TOWN.put(14020400, setTownMap("宝安区", "baoan","113.890069","22.560732"));
        OPT_MAP_TOWN.put(14020500, setTownMap("龙岗区", "longgang","114.254232","22.726232"));
        OPT_MAP_TOWN.put(14020600, setTownMap("盐田区", "yantian","114.254232","22.726232"));
        OPT_MAP_TOWN.put(14010100, setTownMap("莞城区", "guancheng","113.766689","23.037188")); //变为东莞市区莞城街道
        OPT_MAP_TOWN.put(14010200, setTownMap("东城区", "dongcheng","113.78983","23.034187")); //变为东莞市区东城街道
        OPT_MAP_TOWN.put(14010300, setTownMap("南城区", "nancheng","113.742334","23.027369")); //变为东莞市区的南城街道
        OPT_MAP_TOWN.put(14010400, setTownMap("万江区", "wanjiang","113.729039","23.063526")); //变为东莞市区的万江街道
        OPT_MAP_TOWN.put(14013300, setTownMap("松山湖", "songshanhu","113.871705","22.899331"));
        OPT_MAP_TOWN.put(14010500, setTownMap("长安镇", "changan","113.8092524226","22.819941957739"));
        OPT_MAP_TOWN.put(14010600, setTownMap("虎门镇", "humen","113.67932456792","22.820655904478"));
        OPT_MAP_TOWN.put(14010700, setTownMap("石龙镇", "shilong","113.88072933438","23.11161840938"));
        OPT_MAP_TOWN.put(14010800, setTownMap("寮步镇", "liaobu","113.88128403803","23.003644175753"));
        OPT_MAP_TOWN.put(14010900, setTownMap("厚街镇", "houjie","113.67680410232","22.941272581364"));
        OPT_MAP_TOWN.put(14011000, setTownMap("塘厦镇", "tangxia","114.07911624348","22.812788373825"));
        OPT_MAP_TOWN.put(14011100, setTownMap("樟木头镇", "zhangmutou","114.08948062296","22.919856369364"));
        OPT_MAP_TOWN.put(14011200, setTownMap("高埗镇", "gaobu","113.75236057874","23.097240150426"));
        OPT_MAP_TOWN.put(14011300, setTownMap("中堂镇", "zhongtang","113.66393830132","23.09864447183"));
        OPT_MAP_TOWN.put(14011400, setTownMap("麻涌镇", "machong","113.58837984863","23.057077990736"));
        OPT_MAP_TOWN.put(14011500, setTownMap("望牛墩镇", "wangniudun","113.66263423121","23.061597764064"));
        OPT_MAP_TOWN.put(14011600, setTownMap("洪梅镇", "hongmei","113.61544211058","23.00065054685"));
        OPT_MAP_TOWN.put(14011700, setTownMap("石碣镇", "shijie","113.81981065641","23.105013761412"));
        OPT_MAP_TOWN.put(14011800, setTownMap("茶山镇", "chashan","113.87561815569","23.08246379158"));
        OPT_MAP_TOWN.put(14011900, setTownMap("石排镇", "shipai","113.94622919079","23.095436234664"));
        OPT_MAP_TOWN.put(14012000, setTownMap("企石镇", "qishi","114.02853427718","23.079044294536"));
        OPT_MAP_TOWN.put(14012100, setTownMap("清溪镇", "qingxi","114.17089387164","22.850313117498"));
        OPT_MAP_TOWN.put(14012200, setTownMap("沙田镇", "shatian","113.624082","22.925271"));
        OPT_MAP_TOWN.put(14012300, setTownMap("道滘镇", "daojiao","113.68172","23.010247"));
        OPT_MAP_TOWN.put(14012400, setTownMap("凤岗镇", "fenggang","114.143341","22.752709"));
        OPT_MAP_TOWN.put(14012500, setTownMap("大朗镇", "dalang","113.950584","22.945657"));
        OPT_MAP_TOWN.put(14012600, setTownMap("黄江镇", "huangjiang","114.009988","22.92161"));
        OPT_MAP_TOWN.put(14012700, setTownMap("大岭山镇", "dalingshan","113.84869135821","22.905898603566"));
        OPT_MAP_TOWN.put(14012800, setTownMap("常平镇", "changping","113.99950688209","22.981049750267"));
        OPT_MAP_TOWN.put(14012900, setTownMap("横沥镇", "hengli","113.97299105938","23.024817965455"));
        OPT_MAP_TOWN.put(14013000, setTownMap("桥头镇", "qiaotou","114.10960140875","23.030082679476"));
        OPT_MAP_TOWN.put(14013100, setTownMap("谢岗镇", "xiegang","114.15514136588","22.967221816354"));
        OPT_MAP_TOWN.put(14013200, setTownMap("东坑镇", "dongkeng","113.94045200839","23.001558472791"));
        OPT_MAP_TOWN.put(14040100, setTownMap("东区", "dongqu","113.422946","22.521805"));
        OPT_MAP_TOWN.put(14040200, setTownMap("南区", "nanqu","113.420032","22.439539"));
        OPT_MAP_TOWN.put(14040300, setTownMap("石岐区", "shiqi","113.38369","22.502885"));
        OPT_MAP_TOWN.put(14040400, setTownMap("西区", "siqu","113.363629","22.525012"));
        OPT_MAP_TOWN.put(14040500, setTownMap("五桂山区", "wuguishan","113.411545","22.455126"));
        OPT_MAP_TOWN.put(14040600, setTownMap("火炬开发区", "huoju","113.489202","22.572434"));
        OPT_MAP_TOWN.put(14040700, setTownMap("板芙镇", "banfu","113.32887411909","22.422650447281"));
        OPT_MAP_TOWN.put(14040800, setTownMap("大涌镇", "dachong","113.30718740714","22.471242662097"));
        OPT_MAP_TOWN.put(14040900, setTownMap("东凤镇", "dongfeng","113.26389914259","22.708247075889"));
        OPT_MAP_TOWN.put(14041000, setTownMap("东升镇", "dongsheng","113.29799432821","22.628977009576"));
        OPT_MAP_TOWN.put(14041100, setTownMap("阜沙镇", "fusha","113.356417","22.672915"));
        OPT_MAP_TOWN.put(14041200, setTownMap("港口镇", "gangkou","113.39153398263","22.591753097416"));
        OPT_MAP_TOWN.put(14041300, setTownMap("古镇镇", "guzhen","113.19699801942","22.618670740637"));
        OPT_MAP_TOWN.put(14041400, setTownMap("横栏镇", "henglan","113.25603744226","22.540435263233"));
        OPT_MAP_TOWN.put(14041500, setTownMap("黄圃镇", "huangpu","113.345798","22.716768"));
        OPT_MAP_TOWN.put(14041600, setTownMap("民众镇", "minzhong","113.500095","22.627521"));
        OPT_MAP_TOWN.put(14041700, setTownMap("南朗镇", "nanlang","113.537836","22.504947"));
        OPT_MAP_TOWN.put(14041800, setTownMap("南头镇", "nantou","113.298283","22.723519"));
        OPT_MAP_TOWN.put(14041900, setTownMap("三角镇", "sanjiao","113.424476","22.682485"));
        OPT_MAP_TOWN.put(14042000, setTownMap("三乡镇", "sanxiang","113.44797667374","22.363788890099"));
        OPT_MAP_TOWN.put(14042100, setTownMap("沙溪镇", "shaxi","113.32803","22.514028"));
        OPT_MAP_TOWN.put(14042200, setTownMap("神湾镇", "shenwan","113.370276","22.308295"));
        OPT_MAP_TOWN.put(14042300, setTownMap("坦洲镇", "tanzhou","113.474307","22.260581"));
        OPT_MAP_TOWN.put(14042400, setTownMap("小榄镇", "xiaolan","113.257807","22.677375"));
        OPT_MAP_TOWN.put(14050100, setTownMap("香洲区", "xiangzhou","113.549829","22.273092"));
        OPT_MAP_TOWN.put(14050200, setTownMap("斗门区", "doumen","113.303066","22.215299"));
        OPT_MAP_TOWN.put(14050300, setTownMap("金湾区", "jinwan","113.369234","22.153268"));
        OPT_MAP_TOWN.put(14050400, setTownMap("其他", "others","",""));
        OPT_MAP_TOWN.put(14060100, setTownMap("龙湖区", "longhu","116.72302","23.377854"));
        OPT_MAP_TOWN.put(14060200, setTownMap("金平区", "jinping","116.710174","23.371567"));
        OPT_MAP_TOWN.put(14060300, setTownMap("濠江区", "haojiang","116.733156","23.291953"));
        OPT_MAP_TOWN.put(14060400, setTownMap("潮阳区", "chaoyang","116.608075","23.270761"));
        OPT_MAP_TOWN.put(14060500, setTownMap("潮南区", "chaonan","116.446251","23.247356"));
        OPT_MAP_TOWN.put(14060600, setTownMap("澄海区", "chenghai","116.762491","23.473212"));
        OPT_MAP_TOWN.put(14060700, setTownMap("南澳县", "nanao","117.029873","23.428124"));
        OPT_MAP_TOWN.put(14070100, setTownMap("惠城区", "huicheng","114.389025","23.090212"));
        OPT_MAP_TOWN.put(14070200, setTownMap("惠阳区", "huiyang","114.462996","22.794809"));
        OPT_MAP_TOWN.put(14070300, setTownMap("博罗县", "boluo","114.29638","23.179012"));
        OPT_MAP_TOWN.put(14070400, setTownMap("惠东县", "huidong","114.726419","22.991337"));
        OPT_MAP_TOWN.put(14070500, setTownMap("龙门县", "longmen","114.261294","23.73387"));
        OPT_MAP_TOWN.put(14080100, setTownMap("蓬江区", "pengjiang","113.084961","22.600972"));
        OPT_MAP_TOWN.put(14080200, setTownMap("江海区", "jianghai","113.130483","22.559653"));
        OPT_MAP_TOWN.put(14080300, setTownMap("新会区", "xinhui","113.038852","22.465003"));
        OPT_MAP_TOWN.put(14080400, setTownMap("台山市", "taishan","112.80034","22.257893"));
        OPT_MAP_TOWN.put(14080500, setTownMap("开平市", "kaiping","112.704782","22.382973"));
        OPT_MAP_TOWN.put(14080600, setTownMap("鹤山市", "heshan","112.970892","22.771067"));
        OPT_MAP_TOWN.put(14080700, setTownMap("恩平市", "enping","112.311738","22.189142"));
        OPT_MAP_TOWN.put(14090100, setTownMap("禅城区", "chancheng","113.129428","23.01567"));
        OPT_MAP_TOWN.put(14090200, setTownMap("南海区", "nanhai","113.149047","23.035032"));
        OPT_MAP_TOWN.put(14090300, setTownMap("顺德区", "shunde","113.300859","22.810392"));
        OPT_MAP_TOWN.put(14090400, setTownMap("三水区", "sanshui","112.903177","23.162025"));
        OPT_MAP_TOWN.put(14090500, setTownMap("高明区", "gaoming","112.899067","22.906238"));
        OPT_MAP_TOWN.put(14100100, setTownMap("江城区", "jiangcheng","111.961616","21.868158"));
        OPT_MAP_TOWN.put(14100200, setTownMap("阳西县", "yangxi","111.624305","21.75861"));
        OPT_MAP_TOWN.put(14100300, setTownMap("阳东县", "yangdong","112.013265","21.874036"));
        OPT_MAP_TOWN.put(14100400, setTownMap("阳春市", "yangchun","111.798064","22.176017"));
        OPT_MAP_TOWN.put(14110100, setTownMap("清城区", "qingcheng","113.069158","23.704085"));
        OPT_MAP_TOWN.put(14110200, setTownMap("佛冈县", "fogang","113.53793","23.885736"));
        OPT_MAP_TOWN.put(14110300, setTownMap("阳山县", "yangshan","112.647801","24.470975"));
        OPT_MAP_TOWN.put(14110400, setTownMap("连山壮族瑶族自治县", "lianshan","112.100071","24.577345"));
        OPT_MAP_TOWN.put(14110500, setTownMap("连南瑶族自治县", "liannan","112.293498","24.731352"));
        OPT_MAP_TOWN.put(14110600, setTownMap("清新县", "qingxin","113.024124","23.74087"));
        OPT_MAP_TOWN.put(14110700, setTownMap("英德市", "yingde","113.421502","24.191972"));
        OPT_MAP_TOWN.put(14110800, setTownMap("连州市", "lianzhou","112.383902","24.786542"));
        OPT_MAP_TOWN.put(14120100, setTownMap("武江区", "wujiang","113.594265","24.79837"));
        OPT_MAP_TOWN.put(14120200, setTownMap("浈江区", "zhenjiang","113.617444","24.810488"));
        OPT_MAP_TOWN.put(14120300, setTownMap("曲江区", "qujiang","113.610998","24.688658"));
        OPT_MAP_TOWN.put(14120400, setTownMap("始兴县", "shixi","114.06862","24.959895"));
        OPT_MAP_TOWN.put(14120500, setTownMap("仁化县", "renhua","113.755673","25.091701"));
        OPT_MAP_TOWN.put(14120600, setTownMap("翁源县", "wengyuan","114.136621","24.356645"));
        OPT_MAP_TOWN.put(14120700, setTownMap("乳源瑶族自治县", "ruyuan","113.282392","24.78224"));
        OPT_MAP_TOWN.put(14120800, setTownMap("新丰县", "xinfeng","114.213401","24.065539"));
        OPT_MAP_TOWN.put(14120900, setTownMap("乐昌市", "lechang","113.354043","25.135828"));
        OPT_MAP_TOWN.put(14121000, setTownMap("南雄市", "nanxiong","114.318456","25.123648"));
        OPT_MAP_TOWN.put(14130100, setTownMap("端州区", "duanzhou","112.492171","23.057717"));
        OPT_MAP_TOWN.put(14130200, setTownMap("鼎湖区", "dinghu","112.573978","23.16469"));
        OPT_MAP_TOWN.put(14130300, setTownMap("广宁县", "guangning","112.447013","23.641186"));
        OPT_MAP_TOWN.put(14130400, setTownMap("怀集县", "huaiji","112.173319","23.927035"));
        OPT_MAP_TOWN.put(14130500, setTownMap("封开县", "fengkai","111.518785","23.430025"));
        OPT_MAP_TOWN.put(14130600, setTownMap("德庆县", "deqing","111.792138","23.149446"));
        OPT_MAP_TOWN.put(14130700, setTownMap("高要市", "gaoyao","112.464847","23.03201"));
        OPT_MAP_TOWN.put(14130800, setTownMap("四会市", "sihui","112.740783","23.332578"));
        OPT_MAP_TOWN.put(14140100, setTownMap("湘桥区", "xiangqiao","116.634813","23.680718"));
        OPT_MAP_TOWN.put(14140200, setTownMap("潮安县", "chaoan","116.684617","23.468305"));
        OPT_MAP_TOWN.put(14140300, setTownMap("饶平县", "raoping","117.010385","23.670238"));
        OPT_MAP_TOWN.put(14150100, setTownMap("赤坎区", "chikan","110.372424","21.272141"));
        OPT_MAP_TOWN.put(14150200, setTownMap("霞山区", "xiashan","110.404083","21.198727"));
        OPT_MAP_TOWN.put(14150300, setTownMap("坡头区", "potou","110.462012","21.250494"));
        OPT_MAP_TOWN.put(14150400, setTownMap("麻章区", "mazhang","110.33802177707","21.094100364979"));
        OPT_MAP_TOWN.put(14150500, setTownMap("遂溪县", "suixi","110.25667","21.383226"));
        OPT_MAP_TOWN.put(14150600, setTownMap("徐闻县", "xuwen","110.182987","20.331974"));
        OPT_MAP_TOWN.put(14150700, setTownMap("廉江市", "lianjiang","110.292743","21.615883"));
        OPT_MAP_TOWN.put(14150800, setTownMap("雷州市", "leizhou","110.103091","20.920044"));
        OPT_MAP_TOWN.put(14150900, setTownMap("吴川市", "wuchuan","110.784763","21.447896"));
        OPT_MAP_TOWN.put(14160100, setTownMap("茂南区", "maonan","110.784763","21.447896"));
        OPT_MAP_TOWN.put(14160200, setTownMap("茂港区", "maogang","110.986286","21.575109"));
        OPT_MAP_TOWN.put(14160300, setTownMap("电白县", "dianbai","111.020028","21.520405"));
        OPT_MAP_TOWN.put(14160400, setTownMap("高州市", "gaozhou","110.859845","21.924174"));
        OPT_MAP_TOWN.put(14160500, setTownMap("化州市", "huazhou","110.645973","21.670313"));
        OPT_MAP_TOWN.put(14160600, setTownMap("信宜市", "xinyi","110.953673","22.359985"));
        OPT_MAP_TOWN.put(14170100, setTownMap("梅江区", "meijiang","116.123273","24.315804"));
        OPT_MAP_TOWN.put(14170200, setTownMap("梅县", "meicounty","116.087821","24.272249"));
        OPT_MAP_TOWN.put(14170300, setTownMap("大埔县", "dabu","116.701759","24.353584"));
        OPT_MAP_TOWN.put(14170400, setTownMap("丰顺县", "fengshun","116.188705","23.74559"));
        OPT_MAP_TOWN.put(14170500, setTownMap("五华县", "wuhua","115.782597","23.938594"));
        OPT_MAP_TOWN.put(14170600, setTownMap("平远县", "pingyuan","115.897618","24.572309"));
        OPT_MAP_TOWN.put(14170700, setTownMap("蕉岭县", "jiaoling","116.177676","24.664899"));
        OPT_MAP_TOWN.put(14170800, setTownMap("兴宁市", "xingning","115.737764","24.142198"));
        OPT_MAP_TOWN.put(14180100, setTownMap("城区", "chengqu","115.371303","22.784554"));
        OPT_MAP_TOWN.put(14180200, setTownMap("海丰县", "haifeng","115.329858","22.972918"));
        OPT_MAP_TOWN.put(14180300, setTownMap("陆河县", "luhe","115.666444","23.307663"));
        OPT_MAP_TOWN.put(14180400, setTownMap("陆丰市", "lufeng","115.651056","22.952104"));
        OPT_MAP_TOWN.put(14190100, setTownMap("源城区", "yuancheng","114.70884","23.74025"));
        OPT_MAP_TOWN.put(14190200, setTownMap("紫金县", "zijin","115.190445","23.641568"));
        OPT_MAP_TOWN.put(14190300, setTownMap("龙川县", "longchuan","115.266389","24.105803"));
        OPT_MAP_TOWN.put(14190400, setTownMap("连平县", "lianping","114.495088","24.37588"));
        OPT_MAP_TOWN.put(14190500, setTownMap("和平县", "heping","114.945165","24.448196"));
        OPT_MAP_TOWN.put(14190600, setTownMap("东源县", "dongyuan","114.753024","23.794628"));
        OPT_MAP_TOWN.put(14200100, setTownMap("云城区", "yuncheng","112.050261","22.933858"));
        OPT_MAP_TOWN.put(14200200, setTownMap("新兴县", "xinxing","112.231842","22.701817"));
        OPT_MAP_TOWN.put(14200300, setTownMap("郁南县", "yunan","111.541902","23.240316"));
        OPT_MAP_TOWN.put(14200400, setTownMap("云安县", "yunan","112.009819","23.076802"));
        OPT_MAP_TOWN.put(14200500, setTownMap("罗定市", "luoding","111.57656","22.774325"));
        OPT_MAP_TOWN.put(14210100, setTownMap("榕城区", "rongcheng","116.373572","23.531304"));
        OPT_MAP_TOWN.put(14210200, setTownMap("揭东县", "jiedong","116.418482","23.572897"));
        OPT_MAP_TOWN.put(14210300, setTownMap("揭西县", "jiexi","115.848531","23.437144"));
        OPT_MAP_TOWN.put(14210400, setTownMap("惠来县", "huilai","116.30155","23.03946"));
        OPT_MAP_TOWN.put(14210500, setTownMap("普宁市", "puning","116.172156","23.303791"));
        OPT_MAP_TOWN.put(15010100, setTownMap("上城区", "shangcheng","120.175832","30.247997"));
        OPT_MAP_TOWN.put(15010200, setTownMap("下城区", "xiajiang","120.187789","30.286878"));
        OPT_MAP_TOWN.put(15010300, setTownMap("江干区", "jianggan","120.21163","30.263169"));
        OPT_MAP_TOWN.put(15010400, setTownMap("拱墅区", "gongshu","120.148443","30.325936"));
        OPT_MAP_TOWN.put(15010500, setTownMap("西湖区", "xihu","120.136693","30.265929"));
        OPT_MAP_TOWN.put(15010600, setTownMap("滨江区", "binjiang","120.218295","30.214669"));
        OPT_MAP_TOWN.put(15010700, setTownMap("萧山区", "xiaoshan","120.270702","30.190861"));
        OPT_MAP_TOWN.put(15010800, setTownMap("余杭区", "yuhang","120.30495","30.424877"));
        OPT_MAP_TOWN.put(15010900, setTownMap("桐庐县", "tonglu","119.698765","29.798674"));
        OPT_MAP_TOWN.put(15011000, setTownMap("淳安县", "chunan","119.048374","29.614981"));
        OPT_MAP_TOWN.put(15011100, setTownMap("建德市", "jiande","119.287713","29.481173"));
        OPT_MAP_TOWN.put(15011200, setTownMap("富阳市", "fuyang","119.966827","30.054657"));
        OPT_MAP_TOWN.put(15011300, setTownMap("临安市", "lingan","119.73132","30.23976"));
        OPT_MAP_TOWN.put(15020100, setTownMap("海曙区", "haishu","121.53755","29.878303"));
        OPT_MAP_TOWN.put(15020200, setTownMap("江东区", "jiangdong","121.576523","29.8733"));
        OPT_MAP_TOWN.put(15020300, setTownMap("江北区", "jiangbei","121.56082","29.892758"));
        OPT_MAP_TOWN.put(15020400, setTownMap("北仑区", "beilun","121.851618","29.905743"));
        OPT_MAP_TOWN.put(15020500, setTownMap("镇海区", "zhenhai","121.722837","29.954872"));
        OPT_MAP_TOWN.put(15020600, setTownMap("鄞州区", "yinzhou","121.553439","29.823485"));
        OPT_MAP_TOWN.put(15020700, setTownMap("象山县", "xiangshan","121.875878","29.482331"));
        OPT_MAP_TOWN.put(15020800, setTownMap("宁海县", "ninghai","121.436046","29.294391"));
        OPT_MAP_TOWN.put(15020900, setTownMap("余姚市", "yuyao","121.160931","30.042863"));
        OPT_MAP_TOWN.put(15021000, setTownMap("慈溪市", "cixi","121.273056","30.17531"));
        OPT_MAP_TOWN.put(15021100, setTownMap("奉化市", "fenghua","121.413397","29.660974"));
        OPT_MAP_TOWN.put(16010100, setTownMap("玄武区", "xuanwu","118.804386","32.054748"));
        OPT_MAP_TOWN.put(16010200, setTownMap("白下区", "baixia","118.82241","32.032695"));
        OPT_MAP_TOWN.put(16010300, setTownMap("秦淮区", "qinhuai","118.800598","32.045691"));
        OPT_MAP_TOWN.put(16010400, setTownMap("建邺区", "jianye","118.73831","32.009349"));
        OPT_MAP_TOWN.put(16010500, setTownMap("鼓楼区", "gulou","118.776645","32.072402"));
        OPT_MAP_TOWN.put(16010600, setTownMap("下关区", "xiaguan","118.766588","32.116844"));
        OPT_MAP_TOWN.put(16010700, setTownMap("浦口区", "pukou","118.635097","32.065305"));
        OPT_MAP_TOWN.put(16010800, setTownMap("栖霞区", "qixia","118.915863","32.102647"));
        OPT_MAP_TOWN.put(16010900, setTownMap("雨花台区", "yuhuatai","118.785543","31.997778"));
        OPT_MAP_TOWN.put(16011000, setTownMap("江宁区", "jiangning","118.846584","31.958492"));
        OPT_MAP_TOWN.put(16011100, setTownMap("六合区", "liuhe","118.828924","32.328436"));
        OPT_MAP_TOWN.put(16011200, setTownMap("溧水县", "lishui","119.034807","31.657292"));
        OPT_MAP_TOWN.put(16011300, setTownMap("高淳县", "gaochun","118.898607","31.333555"));
        OPT_MAP_TOWN.put(17010100, setTownMap("鼓楼区", "gulou","119.310481","26.088112"));
        OPT_MAP_TOWN.put(17010200, setTownMap("台江区", "taijiang","119.320663","26.058636"));
        OPT_MAP_TOWN.put(17010300, setTownMap("仓山区", "cangshan","119.279816","26.053604"));
        OPT_MAP_TOWN.put(17010400, setTownMap("马尾区", "mawei","119.462262","25.995638"));
        OPT_MAP_TOWN.put(17010500, setTownMap("晋安区", "jinan","119.334744","26.087272"));
        OPT_MAP_TOWN.put(17010600, setTownMap("闽侯县", "minhou","119.137874","26.156236"));
        OPT_MAP_TOWN.put(17010700, setTownMap("连江县", "lianjiang","119.546205","26.20367"));
        OPT_MAP_TOWN.put(17010800, setTownMap("罗源县", "luoyuan","119.556214","26.495462"));
        OPT_MAP_TOWN.put(17010900, setTownMap("闽清县", "minqing","118.870111","26.22683"));
        OPT_MAP_TOWN.put(17011000, setTownMap("永泰县", "yongtai","118.939009","25.873006"));
        OPT_MAP_TOWN.put(17011100, setTownMap("平潭县", "pingtan","119.79665","25.504826"));
        OPT_MAP_TOWN.put(17011200, setTownMap("福清市", "fuqing","119.390577","25.726485"));
        OPT_MAP_TOWN.put(17011300, setTownMap("长乐市", "changle","119.529671","25.969195"));
        OPT_MAP_TOWN.put(17020100, setTownMap("思明区", "siming","118.088807","24.451928"));
        OPT_MAP_TOWN.put(17020200, setTownMap("海沧区", "haicang","118.03939","24.490272"));
        OPT_MAP_TOWN.put(17020300, setTownMap("湖里区", "huli","118.153448","24.51883"));
        OPT_MAP_TOWN.put(17020400, setTownMap("集美区", "jimei","118.103706","24.582119"));
        OPT_MAP_TOWN.put(17020500, setTownMap("同安区", "tongan","118.158136","24.729129"));
        OPT_MAP_TOWN.put(17020600, setTownMap("翔安区", "xiangan","118.254496","24.624301"));
        OPT_MAP_TOWN.put(18010100, setTownMap("长安区", "changan","114.545919","38.041908"));
        OPT_MAP_TOWN.put(18010200, setTownMap("桥东区", "qiaodong","114.511036","38.054064"));
        OPT_MAP_TOWN.put(18010300, setTownMap("桥西区", "qiaoxi","114.467055","38.010635"));
        OPT_MAP_TOWN.put(18010400, setTownMap("新华区", "xinhua","114.469864","38.057723"));
        OPT_MAP_TOWN.put(18010500, setTownMap("井陉矿区", "jingjingkuang","114.068926","38.070659"));
        OPT_MAP_TOWN.put(18010600, setTownMap("裕华区", "yuhua","114.537774","38.011939"));
        OPT_MAP_TOWN.put(18010700, setTownMap("井陉县", "jingjing","114.151788","38.03833"));
        OPT_MAP_TOWN.put(18010800, setTownMap("正定县", "zhengding","114.577352","38.152168"));
        OPT_MAP_TOWN.put(18010900, setTownMap("栾城县", "luancheng","114.654689","37.905741"));
        OPT_MAP_TOWN.put(18011000, setTownMap("行唐县", "xingtang","1114.559546","38.444216"));
        OPT_MAP_TOWN.put(18011100, setTownMap("灵寿县", "lingshou","114.389134","38.314777"));
        OPT_MAP_TOWN.put(18011200, setTownMap("高邑县", "gaoyi","114.617891","37.621218"));
        OPT_MAP_TOWN.put(18011300, setTownMap("深泽县", "shenze","115.207366","38.190537"));
        OPT_MAP_TOWN.put(18011400, setTownMap("赞皇县", "zanhuang","114.392337","37.67171"));
        OPT_MAP_TOWN.put(18011500, setTownMap("无极县", "wuji","114.982814","38.185275"));
        OPT_MAP_TOWN.put(18011600, setTownMap("平山县", "pingshan","114.192512","38.266572"));
        OPT_MAP_TOWN.put(18011700, setTownMap("元氏县", "yuanshi","114.531935","37.772391"));
        OPT_MAP_TOWN.put(18011800, setTownMap("赵县", "zhaocounty","114.782755","37.761971"));
        OPT_MAP_TOWN.put(18011900, setTownMap("辛集市", "xinji","115.224343","37.949337"));
        OPT_MAP_TOWN.put(18012000, setTownMap("藁城市", "gaocheng","114.853145","38.027988"));
        OPT_MAP_TOWN.put(18012100, setTownMap("晋州市", "jinzhou","115.050618","38.039453"));
        OPT_MAP_TOWN.put(18012200, setTownMap("新乐市", "xinle","114.690375","38.349279"));
        OPT_MAP_TOWN.put(18012300, setTownMap("鹿泉市", "luquan","114.320014","38.091978"));
        OPT_MAP_TOWN.put(19010100, setTownMap("中原区", "zhongyuan","113.619736","34.75422"));
        OPT_MAP_TOWN.put(19010200, setTownMap("二七区", "erqi","113.646553","34.731469"));
        OPT_MAP_TOWN.put(19010300, setTownMap("管城回族区", "guanchenghuizu","113.684128","34.759568"));
        OPT_MAP_TOWN.put(19010400, setTownMap("金水区", "jinshui","113.666949","34.806087"));
        OPT_MAP_TOWN.put(19010500, setTownMap("上街区", "shangjie","113.315425","34.808823"));
        OPT_MAP_TOWN.put(19010600, setTownMap("惠济区", "huiji","113.623382","34.873523"));
        OPT_MAP_TOWN.put(19010700, setTownMap("中牟县", "zhongmu","113.982723","34.725159"));
        OPT_MAP_TOWN.put(19010800, setTownMap("巩义市", "gongyi","113.028792","34.754251"));
        OPT_MAP_TOWN.put(19010900, setTownMap("荥阳市", "xingyang","113.389913","34.793727"));
        OPT_MAP_TOWN.put(19011000, setTownMap("新密市", "xinmi","113.451352","34.528113"));
        OPT_MAP_TOWN.put(19011100, setTownMap("新郑市", "xinzheng","113.74698","34.40206"));
        OPT_MAP_TOWN.put(19011200, setTownMap("登封市", "dengfeng","113.056683","34.459771"));
        OPT_MAP_TOWN.put(20010100, setTownMap("道里区", "daoli","126.623292","45.761919"));
        OPT_MAP_TOWN.put(20010200, setTownMap("南岗区", "nangang","126.675012","45.765866"));
        OPT_MAP_TOWN.put(20010300, setTownMap("道外区", "daowai","126.655929","45.797686"));
        OPT_MAP_TOWN.put(20010400, setTownMap("平房区", "pingfa","126.644231","45.603769"));
        OPT_MAP_TOWN.put(20010500, setTownMap("松北区", "songbei","126.569322","45.814098"));
        OPT_MAP_TOWN.put(20010600, setTownMap("香坊区", "xiangfang","126.669494","45.714088"));
        OPT_MAP_TOWN.put(20010700, setTownMap("呼兰区", "hulan","126.594355","45.895297"));
        OPT_MAP_TOWN.put(20010800, setTownMap("阿城区", "acheng","126.981688","45.547742"));
        OPT_MAP_TOWN.put(20010900, setTownMap("依兰县", "yilan","129.575093","46.330867"));
        OPT_MAP_TOWN.put(20011000, setTownMap("方正县", "fangzheng","128.835972","45.857897"));
        OPT_MAP_TOWN.put(20011100, setTownMap("宾县", "binxian","127.492299","45.764915"));
        OPT_MAP_TOWN.put(20011200, setTownMap("巴彦县", "bayan","127.410048","46.091241"));
        OPT_MAP_TOWN.put(20011300, setTownMap("木兰县", "mulan","128.049703","45.956797"));
        OPT_MAP_TOWN.put(20011400, setTownMap("通河县", "tonghe","128.752378","45.996741"));
        OPT_MAP_TOWN.put(20011500, setTownMap("延寿县", "yanshou","128.338225","45.457548"));
        OPT_MAP_TOWN.put(20011600, setTownMap("双城市", "shuangcheng","126.319168","45.388918"));
        OPT_MAP_TOWN.put(20011700, setTownMap("尚志市", "shangzhi","127.966033","45.217202"));
        OPT_MAP_TOWN.put(20011800, setTownMap("五常市", "wuchang","127.173989","44.937864"));
        OPT_MAP_TOWN.put(21010100, setTownMap("和平区", "heping","123.427223","41.795358"));
        OPT_MAP_TOWN.put(21010200, setTownMap("沈河区", "shenhe","123.464996","41.802073"));
        OPT_MAP_TOWN.put(21010300, setTownMap("大东区", "dadong","123.493147","41.88042"));
        OPT_MAP_TOWN.put(21010400, setTownMap("皇姑区", "huanggu","123.432049","41.826878"));
        OPT_MAP_TOWN.put(21010500, setTownMap("铁西区", "tiexi","123.383239","41.809074"));
        OPT_MAP_TOWN.put(21010600, setTownMap("苏家屯区", "sujiatun","123.350638","41.671114"));
        OPT_MAP_TOWN.put(21010700, setTownMap("东陵区", "dangling","123.471311","41.776288"));
        OPT_MAP_TOWN.put(21010800, setTownMap("沈北新区", "shenbeixinqu","123.533584","42.059417"));
        OPT_MAP_TOWN.put(21010900, setTownMap("于洪区", "yuhong","123.314689","41.799698"));
        OPT_MAP_TOWN.put(21011000, setTownMap("辽中县", "liaozhong","122.737908","41.51805"));
        OPT_MAP_TOWN.put(21011100, setTownMap("康平县", "kangping","123.35975","42.756611"));
        OPT_MAP_TOWN.put(21011200, setTownMap("法库县", "faku","123.41476","42.509803"));
        OPT_MAP_TOWN.put(21011300, setTownMap("新民市", "xinmin","122.879641","42.023635"));
        OPT_MAP_TOWN.put(22010100, setTownMap("南关区", "nanguan","125.356844","43.869696"));
        OPT_MAP_TOWN.put(22010200, setTownMap("宽城区", "kuancheng","125.333324","43.949184"));
        OPT_MAP_TOWN.put(22010300, setTownMap("朝阳区", "chaoyang","125.295168","43.839603"));
        OPT_MAP_TOWN.put(22010400, setTownMap("二道区", "erdao","125.380521","43.871817"));
        OPT_MAP_TOWN.put(22010500, setTownMap("绿园区", "luyuan","125.263285","43.887033"));
        OPT_MAP_TOWN.put(22010600, setTownMap("双阳区", "shuangyang","125.671087","43.531126"));
        OPT_MAP_TOWN.put(22010700, setTownMap("农安县", "nongan","125.191371","44.438829"));
        OPT_MAP_TOWN.put(22010800, setTownMap("九台市", "jiutai","125.845746","44.157711"));
        OPT_MAP_TOWN.put(22010900, setTownMap("榆树市", "yushu","126.539602","44.845529"));
        OPT_MAP_TOWN.put(22011000, setTownMap("德惠市", "dehui","125.712078","44.542777"));
        OPT_MAP_TOWN.put(23010100, setTownMap("新城区", "xincheng","108.967188","34.272986"));
        OPT_MAP_TOWN.put(23010200, setTownMap("碑林区", "beilin","108.967188","34.272986"));
        OPT_MAP_TOWN.put(23010300, setTownMap("莲湖区", "lianhu","108.950567","34.271171"));
        OPT_MAP_TOWN.put(23010400, setTownMap("灞桥区", "baqiao","109.071017","34.279526"));
        OPT_MAP_TOWN.put(23010500, setTownMap("未央区", "weiyang","108.953173","34.299238"));
        OPT_MAP_TOWN.put(23010600, setTownMap("雁塔区", "yanta","108.955251","34.228851"));
        OPT_MAP_TOWN.put(23010700, setTownMap("阎良区", "yanliang","109.232673","34.66832"));
        OPT_MAP_TOWN.put(23010800, setTownMap("临潼区", "lintong","109.220694","34.372888"));
        OPT_MAP_TOWN.put(23010900, setTownMap("长安区", "changan","108.913543","34.164616"));
        OPT_MAP_TOWN.put(23011000, setTownMap("蓝田县", "lantian","109.329836","34.157643"));
        OPT_MAP_TOWN.put(23011100, setTownMap("周至县", "zhouzhi","108.228556","34.169596"));
        OPT_MAP_TOWN.put(23011200, setTownMap("户县", "huxian","108.611565","34.114918"));
        OPT_MAP_TOWN.put(23011300, setTownMap("高陵县", "gaoling","109.09462","34.541178"));
        OPT_MAP_TOWN.put(24010100, setTownMap("瑶海区", "yaohai","117.316074","31.863673"));
        OPT_MAP_TOWN.put(24010200, setTownMap("庐阳区", "luyang","117.271447","31.884828"));
        OPT_MAP_TOWN.put(24010300, setTownMap("蜀山区", "shushan","117.266929","31.857402"));
        OPT_MAP_TOWN.put(24010400, setTownMap("包河区", "baohe","117.31649","31.799218"));
        OPT_MAP_TOWN.put(24010800, setTownMap("高新区", "gaoxin","117.142245","31.837519"));
        OPT_MAP_TOWN.put(24010500, setTownMap("长丰县", "changfeng","117.174133","32.48428"));
        OPT_MAP_TOWN.put(24010600, setTownMap("肥东县", "feidong","117.475673","31.894003"));
        OPT_MAP_TOWN.put(24010700, setTownMap("肥西县", "feixi","117.164642","31.713084"));
        OPT_MAP_TOWN.put(25010100, setTownMap("历下区", "lixia","117.08302","36.672322"));
        OPT_MAP_TOWN.put(25010200, setTownMap("市中区", "shizhong","117.003855","36.657523"));
        OPT_MAP_TOWN.put(25010300, setTownMap("槐荫区", "huaiyin","116.907598","36.657872"));
        OPT_MAP_TOWN.put(25010400, setTownMap("天桥区", "tianqiao","116.993613","36.685126"));
        OPT_MAP_TOWN.put(25010500, setTownMap("历城区", "licheng","117.071959","36.685741"));
        OPT_MAP_TOWN.put(25010600, setTownMap("长清区", "changqing","116.758385","36.560491"));
        OPT_MAP_TOWN.put(25010700, setTownMap("平阴县", "pingyin","116.462602","36.295038"));
        OPT_MAP_TOWN.put(25010800, setTownMap("济阳县", "jiyang","117.179935","36.984143"));
        OPT_MAP_TOWN.put(25010900, setTownMap("商河县", "shanghe","117.163619","37.314998"));
        OPT_MAP_TOWN.put(25011000, setTownMap("章丘市", "zhangqiu","117.53283","36.68698"));
        OPT_MAP_TOWN.put(25020100, setTownMap("市南区", "shinan","120.418683","36.081458"));
        OPT_MAP_TOWN.put(25020200, setTownMap("市北区", "shibei","120.381152","36.093806"));
        OPT_MAP_TOWN.put(25020300, setTownMap("四方区", "sifang","120.381866","36.132048"));
        OPT_MAP_TOWN.put(25020400, setTownMap("黄岛区", "huangdao","120.204319","35.966472"));
        OPT_MAP_TOWN.put(25020500, setTownMap("崂山区", "laoshan","120.475331","36.114158"));
        OPT_MAP_TOWN.put(25020600, setTownMap("李沧区", "licang","120.43954","36.150804"));
        OPT_MAP_TOWN.put(25020700, setTownMap("城阳区", "chengyang","120.402794","36.313582"));
        OPT_MAP_TOWN.put(25020800, setTownMap("胶州市", "jiaozhou","120.040066","36.270389"));
        OPT_MAP_TOWN.put(25020900, setTownMap("即墨市", "jimo","120.453697","36.395263"));
        OPT_MAP_TOWN.put(25021000, setTownMap("平度市", "pingdu","119.966468","36.793077"));
        OPT_MAP_TOWN.put(25021100, setTownMap("胶南市", "jiaonan","119.862634","35.810252"));
        OPT_MAP_TOWN.put(25021200, setTownMap("莱西市", "laixi","120.52433","36.893944"));
        OPT_MAP_TOWN.put(26010100, setTownMap("小店区", "xiaodian","112.572266","37.742561"));
        OPT_MAP_TOWN.put(26010200, setTownMap("迎泽区", "yingze","112.569838","37.869572"));
        OPT_MAP_TOWN.put(26010300, setTownMap("杏花岭区", "xinghualing","112.576427","37.900751"));
        OPT_MAP_TOWN.put(26010400, setTownMap("尖草坪区", "jiancaoping","112.493614","37.946811"));
        OPT_MAP_TOWN.put(26010500, setTownMap("万柏林区", "wanbolin","112.522183","37.865079"));
        OPT_MAP_TOWN.put(26010600, setTownMap("晋源区", "jinyuan","112.484259","37.721125"));
        OPT_MAP_TOWN.put(26010700, setTownMap("清徐县", "qingxu","112.365184","37.613219"));
        OPT_MAP_TOWN.put(26010800, setTownMap("阳曲县", "yangqu","112.679324","38.064601"));
        OPT_MAP_TOWN.put(26010900, setTownMap("娄烦县", "loufan","111.80397","38.073046"));
        OPT_MAP_TOWN.put(26011000, setTownMap("古交市", "gujiao","112.182343","37.913243"));
        OPT_MAP_TOWN.put(27010100, setTownMap("江岸区", "jiangan","114.315877","30.605579"));
        OPT_MAP_TOWN.put(27010200, setTownMap("江汉区", "jianghan","114.277474","30.607444"));
        OPT_MAP_TOWN.put(27010300, setTownMap("硚口区", "qiaokou","114.221369","30.588519"));
        OPT_MAP_TOWN.put(27010400, setTownMap("汉阳区", "hanyang","114.225061","30.560459"));
        OPT_MAP_TOWN.put(27010500, setTownMap("武昌区", "wuchang","114.322535","30.559629"));
        OPT_MAP_TOWN.put(27010600, setTownMap("青山区", "qingshan","114.391854","30.645863"));
        OPT_MAP_TOWN.put(27010700, setTownMap("洪山区", "hongshan","114.349041","30.506984"));
        OPT_MAP_TOWN.put(27010800, setTownMap("东西湖区", "dongxihu","114.142672","30.626297"));
        OPT_MAP_TOWN.put(27010900, setTownMap("汉南区", "hannan","114.091236","30.314761"));
        OPT_MAP_TOWN.put(27011000, setTownMap("蔡甸区", "caidian","114.035791","30.588035"));
        OPT_MAP_TOWN.put(27011100, setTownMap("江夏区", "jiangxia","114.328232","30.381449"));
        OPT_MAP_TOWN.put(27011200, setTownMap("黄陂区", "huangpi","114.382122","30.888746"));
        OPT_MAP_TOWN.put(27011300, setTownMap("新洲区", "xinzhou","114.807693","30.847349"));
        OPT_MAP_TOWN.put(27040100, setTownMap("沙市区", "shashi","112.261466","30.317988"));
        OPT_MAP_TOWN.put(27040200, setTownMap("荆州区", "jingzhou","112.196573","30.358905"));
        OPT_MAP_TOWN.put(27040300, setTownMap("公安县", "gongan","112.2362","30.064341"));
        OPT_MAP_TOWN.put(27040400, setTownMap("监利县", "jianli","112.911141","29.846067"));
        OPT_MAP_TOWN.put(27040500, setTownMap("江陵县", "jiangling","112.431153","30.048266"));
        OPT_MAP_TOWN.put(27040600, setTownMap("石首市", "shishou","112.431848","29.727278"));
        OPT_MAP_TOWN.put(27040700, setTownMap("洪湖市", "honghu","113.482403","29.832964"));
        OPT_MAP_TOWN.put(27040800, setTownMap("松滋市", "songzi","111.763337","30.18043"));
        OPT_MAP_TOWN.put(28010100, setTownMap("芙蓉区", "furong","113.038968","28.1913"));
        OPT_MAP_TOWN.put(28010200, setTownMap("天心区", "tianxin","112.99651","28.118351"));
        OPT_MAP_TOWN.put(28010300, setTownMap("岳麓区", "yuelu","112.779994","28.119793"));
        OPT_MAP_TOWN.put(28010400, setTownMap("开福区", "kaifu","112.992845","28.261589"));
        OPT_MAP_TOWN.put(28010500, setTownMap("雨花区", "yuhua","113.042226","28.141685"));
        OPT_MAP_TOWN.put(28010600, setTownMap("长沙县", "changsha","113.087366","28.251821"));
        OPT_MAP_TOWN.put(28010700, setTownMap("望城县", "wangcheng","112.82321","28.367633"));
        OPT_MAP_TOWN.put(28010800, setTownMap("宁乡县", "ningxiang","112.558217","28.28385"));
        OPT_MAP_TOWN.put(28010900, setTownMap("浏阳市", "liuyang","113.649568","28.17011"));
        OPT_MAP_TOWN.put(28020100, setTownMap("雨湖区", "yuhu","112.913819","27.862588"));
        OPT_MAP_TOWN.put(28020200, setTownMap("岳塘区", "yuetang","112.9758","27.877485"));
        OPT_MAP_TOWN.put(28020300, setTownMap("湘潭县", "xiangtan","112.957234","27.785467"));
        OPT_MAP_TOWN.put(28020400, setTownMap("湘乡市", "xiangxiang","112.541522","27.740188"));
        OPT_MAP_TOWN.put(28020500, setTownMap("韶山市", "shaoshan","112.533101","27.921007"));
        OPT_MAP_TOWN.put(28060100, setTownMap("珠晖区", "zhuhui","112.626984","26.900226"));
        OPT_MAP_TOWN.put(28060200, setTownMap("雁峰区", "yanfeng","112.623328","26.894306"));
        OPT_MAP_TOWN.put(28060300, setTownMap("石鼓区", "shigu","112.60471","26.949114"));
        OPT_MAP_TOWN.put(28060400, setTownMap("蒸湘区", "zhengxiang","112.573404","26.917735"));
        OPT_MAP_TOWN.put(28060500, setTownMap("南岳区", "nanyue","112.743942","27.237261"));
        OPT_MAP_TOWN.put(28060600, setTownMap("衡阳县", "hengyang","112.377212","26.975461"));
        OPT_MAP_TOWN.put(28060700, setTownMap("衡南县", "hengnan","112.684323","26.744634"));
        OPT_MAP_TOWN.put(28060800, setTownMap("衡山县", "hengshan","112.874875","27.235904"));
        OPT_MAP_TOWN.put(28060900, setTownMap("衡东县", "hengdong","112.959747","27.087094"));
        OPT_MAP_TOWN.put(28061000, setTownMap("祁东县", "qidong","112.096878","26.805941"));
        OPT_MAP_TOWN.put(28061100, setTownMap("耒阳市", "leiyang","112.866477","26.42809"));
        OPT_MAP_TOWN.put(28061200, setTownMap("常宁市", "changning","112.406478","26.426764"));
        OPT_MAP_TOWN.put(28070100, setTownMap("北湖区", "beihu","113.017133","25.790642"));
        OPT_MAP_TOWN.put(28070200, setTownMap("苏仙区", "suxian","113.048784","25.806736"));
        OPT_MAP_TOWN.put(28070300, setTownMap("桂阳县", "guiyang","112.74024","25.759773"));
        OPT_MAP_TOWN.put(28070400, setTownMap("宜章县", "yizhang","112.955138","25.405693"));
        OPT_MAP_TOWN.put(28070500, setTownMap("永兴县", "yongxing","113.123121","26.132975"));
        OPT_MAP_TOWN.put(28070600, setTownMap("嘉禾县", "jiahe","112.375182","25.593375"));
        OPT_MAP_TOWN.put(28070700, setTownMap("临武县", "linwu","112.570111","25.282364"));
        OPT_MAP_TOWN.put(28070800, setTownMap("汝城县", "rucheng","113.691475","25.556115"));
        OPT_MAP_TOWN.put(28070900, setTownMap("桂东县", "guidong","113.951134","26.083191"));
        OPT_MAP_TOWN.put(28071000, setTownMap("安仁县", "anren","113.275922","26.715626"));
        OPT_MAP_TOWN.put(28071100, setTownMap("资兴市", "zixing","113.242566","25.981959"));
        OPT_MAP_TOWN.put(29010100, setTownMap("东湖区", "donghu","115.905655","28.69115"));
        OPT_MAP_TOWN.put(29010200, setTownMap("西湖区", "xihu","115.883696","28.663429"));
        OPT_MAP_TOWN.put(29010300, setTownMap("青云谱区", "qingyunpu","115.932016","28.628282"));
        OPT_MAP_TOWN.put(29010400, setTownMap("湾里区", "wanli","115.737365","28.720487"));
        OPT_MAP_TOWN.put(29010500, setTownMap("青山湖区", "qingshanhu","115.968905","28.68879"));
        OPT_MAP_TOWN.put(29011000, setTownMap("高新技术产业开发区", "gaoxinjishu","116.013371","28.682436"));
        OPT_MAP_TOWN.put(29011100, setTownMap("红谷滩新区", "honggutan","115.863939","28.704418"));
        OPT_MAP_TOWN.put(29010600, setTownMap("南昌县", "nanchang","115.950681","28.55148"));
        OPT_MAP_TOWN.put(29010700, setTownMap("新建县", "xinjian","115.823283","28.698902"));
        OPT_MAP_TOWN.put(29010800, setTownMap("安义县", "anyi","115.555721","28.850731"));
        OPT_MAP_TOWN.put(29010900, setTownMap("进贤县", "jinxian","116.24797","28.383153"));
        OPT_MAP_TOWN.put(29011000, setTownMap("经济技术开发区", "jingjijishu", "115.89352754584", "28.689578000141"));
        OPT_MAP_TOWN.put(29011100, setTownMap("小蓝经济技术开发区", "xiaolanjingji", "115.94297504211", "28.57700360106"));
        OPT_MAP_TOWN.put(29011200, setTownMap("临空经济区", "linkongjingji", "115.89352754584", "28.689578000141"));
        OPT_MAP_TOWN.put(29011300, setTownMap("桑海经济技术开发区", "sanghaijingji", "115.89352754584", "28.689578000141"));
        OPT_MAP_TOWN.put(30010100, setTownMap("新城区", "xincheng","111.671969","40.863956"));
        OPT_MAP_TOWN.put(30010200, setTownMap("回民区", "huimin","111.629827","40.815393"));
        OPT_MAP_TOWN.put(30010300, setTownMap("玉泉区", "yuquan","111.68033","40.759472"));
        OPT_MAP_TOWN.put(30010400, setTownMap("赛罕区", "saihan","111.707675","40.798792"));
        OPT_MAP_TOWN.put(30010500, setTownMap("土默特左旗", "tumotezuoqi","111.170169","40.735354"));
        OPT_MAP_TOWN.put(30010600, setTownMap("托克托县", "tuoketuo","111.200893","40.283369"));
        OPT_MAP_TOWN.put(30010700, setTownMap("和林格尔县", "helingeer","111.82821","40.385411"));
        OPT_MAP_TOWN.put(30010800, setTownMap("清水河县", "qingshuihe","111.653608","39.926498"));
        OPT_MAP_TOWN.put(30010900, setTownMap("武川县", "wuchuan","111.457676","41.102516"));
        OPT_MAP_TOWN.put(31010100, setTownMap("兴宁区", "xingning","108.374474","22.859983"));
        OPT_MAP_TOWN.put(31010200, setTownMap("青秀区", "qingxiu","108.50184","22.792305"));
        OPT_MAP_TOWN.put(31010300, setTownMap("江南区", "jiangnan","108.279625","22.787707"));
        OPT_MAP_TOWN.put(31010400, setTownMap("西乡塘区", "xixiangtang","108.320081","22.839501"));
        OPT_MAP_TOWN.put(31010500, setTownMap("良庆区", "liangqing","108.327337","22.761974"));
        OPT_MAP_TOWN.put(31010600, setTownMap("邕宁区", "yongning","108.493779","22.764682"));
        OPT_MAP_TOWN.put(31010700, setTownMap("武鸣县", "wuming","108.281125","23.164578"));
        OPT_MAP_TOWN.put(31010800, setTownMap("隆安县", "longan","107.702674","23.171572"));
        OPT_MAP_TOWN.put(31010900, setTownMap("马山县", "mashan","108.183582","23.713843"));
        OPT_MAP_TOWN.put(31011000, setTownMap("上林县", "shanglin","108.611511","23.438363"));
        OPT_MAP_TOWN.put(31011100, setTownMap("宾阳县", "binyang","108.816801","23.223682"));
        OPT_MAP_TOWN.put(31011200, setTownMap("横县", "hengxian","109.268007","22.685611"));
        OPT_MAP_TOWN.put(31070100, setTownMap("金城江区", "jinchengjiang","108.043838","24.695529"));
        OPT_MAP_TOWN.put(31070200, setTownMap("南丹县", "nandan","107.548775","24.981354"));
        OPT_MAP_TOWN.put(31070300, setTownMap("天峨县", "tiane","107.178627","25.005368"));
        OPT_MAP_TOWN.put(31070400, setTownMap("凤山县", "fengshan","107.048897","24.552596"));
        OPT_MAP_TOWN.put(31070500, setTownMap("东兰县", "donglan","107.380763","24.516889"));
        OPT_MAP_TOWN.put(31070600, setTownMap("罗城仫佬族自治县", "luochengmulam","108.911215","24.78307"));
        OPT_MAP_TOWN.put(31070700, setTownMap("环江毛南族自治县", "huanjiangmaonan","108.265357","24.834278"));
        OPT_MAP_TOWN.put(31070800, setTownMap("巴马瑶族自治县", "bamayao","107.266053","24.147406"));
        OPT_MAP_TOWN.put(31070900, setTownMap("都安瑶族自治县", "duanyao","108.112007","23.937443"));
        OPT_MAP_TOWN.put(31071000, setTownMap("大化瑶族自治县", "dahuayao","108.004551","23.742715"));
        OPT_MAP_TOWN.put(31071100, setTownMap("宜州市", "yizhou","108.64309","24.49102"));
        OPT_MAP_TOWN.put(32010100, setTownMap("锦江区", "jinjiang","104.123781","30.603998"));
        OPT_MAP_TOWN.put(32010200, setTownMap("青羊区", "qingyang","104.06873","30.681154"));
        OPT_MAP_TOWN.put(32010300, setTownMap("金牛区", "jinniu","104.059108","30.697574"));
        OPT_MAP_TOWN.put(32010400, setTownMap("武侯区", "wuhou","104.049775","30.648475"));
        OPT_MAP_TOWN.put(32010500, setTownMap("成华区", "longquanyi","104.107841","30.665825"));
        OPT_MAP_TOWN.put(32010600, setTownMap("龙泉驿区", "longquanyi","104.281277","30.562982"));
        OPT_MAP_TOWN.put(32010700, setTownMap("青白江区", "qingbaijiang","104.257711","30.884647"));
        OPT_MAP_TOWN.put(32010800, setTownMap("新都区", "xindu","104.165134","30.829807"));
        OPT_MAP_TOWN.put(32010900, setTownMap("温江区", "wenjiang","103.862442","30.687117"));
        OPT_MAP_TOWN.put(32011000, setTownMap("金堂县", "jintang","104.418379","30.868321"));
        OPT_MAP_TOWN.put(32011100, setTownMap("双流县", "shuangliu","103.930161","30.580768"));
        OPT_MAP_TOWN.put(32011200, setTownMap("郫县", "pixian","103.908989","30.802072"));
        OPT_MAP_TOWN.put(32011300, setTownMap("大邑县", "dayi","103.519044","30.577861"));
        OPT_MAP_TOWN.put(32011400, setTownMap("蒲江县", "pujiang","103.512901","30.202476"));
        OPT_MAP_TOWN.put(32011500, setTownMap("新津县", "xinjin","103.817885","30.416344"));
        OPT_MAP_TOWN.put(32011600, setTownMap("都江堰市", "dujiangyan","103.653613","30.994334"));
        OPT_MAP_TOWN.put(32011700, setTownMap("彭州市", "pengzhou","103.964668","30.996052"));
        OPT_MAP_TOWN.put(32011800, setTownMap("邛崃市", "qionglai","103.679384","30.636513"));
        OPT_MAP_TOWN.put(32011900, setTownMap("崇州市", "chongzhou","103.679384","30.636513"));
        OPT_MAP_TOWN.put(33000100, setTownMap("南明区", "nanming","106.720634","26.574191"));
        OPT_MAP_TOWN.put(33000200, setTownMap("云岩区", "yunyan","106.732349","26.594101"));
        OPT_MAP_TOWN.put(33000300, setTownMap("花溪区", "huaxi","106.676767","26.416256"));
        OPT_MAP_TOWN.put(33000400, setTownMap("乌当区", "wudang","106.767835","26.635719"));
        OPT_MAP_TOWN.put(33000500, setTownMap("白云区", "baiyun","106.630326","26.684908"));
        OPT_MAP_TOWN.put(33000600, setTownMap("小河区", "xiaohe","106.703792","26.516169"));
        OPT_MAP_TOWN.put(33000700, setTownMap("开阳县", "kaiyang","106.971399","27.063853"));
        OPT_MAP_TOWN.put(33000800, setTownMap("息烽县", "xifeng","106.746962","27.096204"));
        OPT_MAP_TOWN.put(33000900, setTownMap("修文县", "xiuwen","106.598713","26.844725"));
        OPT_MAP_TOWN.put(33001000, setTownMap("清镇市", "qingzhen","106.477081","26.562066"));
        OPT_MAP_TOWN.put(34010100, setTownMap("五华区", "wuhua","102.713762","25.049707"));
        OPT_MAP_TOWN.put(34010200, setTownMap("盘龙区", "panlong","102.758506","25.122536"));
        OPT_MAP_TOWN.put(35010100, setTownMap("城关区", "chengguan","103.85617","36.040935"));
        OPT_MAP_TOWN.put(35010200, setTownMap("七里河区", "qilihe","103.930096","36.053679"));
        OPT_MAP_TOWN.put(35010300, setTownMap("西固区", "xigu","103.615678","36.115781"));
        OPT_MAP_TOWN.put(35010400, setTownMap("安宁区", "anning","103.725336","36.110041"));
        OPT_MAP_TOWN.put(35010500, setTownMap("红古区", "honggu","102.86581","36.35222"));
        OPT_MAP_TOWN.put(35010600, setTownMap("永登县", "yongdeng","103.267022","36.742307"));
        OPT_MAP_TOWN.put(35010700, setTownMap("皋兰县", "gaolan","103.954139","36.338424"));
        OPT_MAP_TOWN.put(35010800, setTownMap("榆中县", "yuzhong","104.118957","35.849438"));
        OPT_MAP_TOWN.put(36010100, setTownMap("城东区", "chengdong","101.797606","36.607855"));
        OPT_MAP_TOWN.put(36010200, setTownMap("城中区", "chengzhong","101.768162","36.602013"));
        OPT_MAP_TOWN.put(36010300, setTownMap("城西区", "chengxi","101.772015","36.634764"));
        OPT_MAP_TOWN.put(36010400, setTownMap("城北区", "chengbei","101.772311","36.656727"));
        OPT_MAP_TOWN.put(36010500, setTownMap("大通回族土族自治县", "datonghuitu","101.692273","36.932954"));
        OPT_MAP_TOWN.put(36010600, setTownMap("湟中县", "huangzhong","101.57827","36.506807"));
        OPT_MAP_TOWN.put(36010700, setTownMap("湟源县", "huangyuan","101.262494","36.688928"));
        OPT_MAP_TOWN.put(37010100, setTownMap("兴庆区", "xingqing","106.299333","38.474436"));
        OPT_MAP_TOWN.put(37010200, setTownMap("西夏区", "xixia","106.178013","38.500439"));
        OPT_MAP_TOWN.put(37010300, setTownMap("金凤区", "jinfeng","106.249405","38.479269"));
        OPT_MAP_TOWN.put(37010400, setTownMap("永宁县", "yongning","106.25982","38.283267"));
        OPT_MAP_TOWN.put(37010500, setTownMap("贺兰县", "helan","106.35563","38.560594"));
        OPT_MAP_TOWN.put(37010600, setTownMap("灵武市", "lingwu","106.346302","38.108916"));
        OPT_MAP_TOWN.put(38010100, setTownMap("天山区", "tianshan","87.63953","43.801543"));
        OPT_MAP_TOWN.put(38010200, setTownMap("沙依巴克区", "saybagh","87.604604","43.807372"));
        OPT_MAP_TOWN.put(38010300, setTownMap("新市区", "xinshi","87.581486","43.84545"));
        OPT_MAP_TOWN.put(38010400, setTownMap("水磨沟区", "shuimogou","87.66284","43.833919"));
        OPT_MAP_TOWN.put(38010500, setTownMap("头屯河区", "toutun","87.427924","43.877151"));
        OPT_MAP_TOWN.put(38010600, setTownMap("达坂城区", "dabancheng","88.299246","43.364166"));
        OPT_MAP_TOWN.put(38010700, setTownMap("米东区", "midong","87.670456","43.978589"));
        OPT_MAP_TOWN.put(38010800, setTownMap("乌鲁木齐县", "urumqi","87.411986","43.478589"));
        OPT_MAP_TOWN.put(39010100, setTownMap("城关区", "chengguan","91.147171","29.660563"));
        OPT_MAP_TOWN.put(39010200, setTownMap("林周县", "lhunzhub","91.266555","29.896301"));
        OPT_MAP_TOWN.put(39010300, setTownMap("当雄县", "damxung","91.102647","30.476353"));
        OPT_MAP_TOWN.put(39010400, setTownMap("尼木县", "nyemo","90.191482","29.454108"));
        OPT_MAP_TOWN.put(39010500, setTownMap("曲水县", "qushui","90.741754","29.354758"));
        OPT_MAP_TOWN.put(39010600, setTownMap("堆龙德庆县", "duilongdeqing","91.008411","29.652657"));
        OPT_MAP_TOWN.put(39010700, setTownMap("达孜县", "dazi","91.356618","29.675518"));
        OPT_MAP_TOWN.put(39010800, setTownMap("墨竹工卡县", "maizhokunggar","91.740481","29.842312"));
        OPT_MAP_TOWN.put(40010100, setTownMap("秀英区", "xiuying","110.299012","20.014653"));
        OPT_MAP_TOWN.put(40010200, setTownMap("龙华区", "longhua","110.334081","20.035031"));
        OPT_MAP_TOWN.put(40010300, setTownMap("琼山区", "qiongshan","110.36024","20.010034"));
        OPT_MAP_TOWN.put(40010400, setTownMap("美兰区", "meilan","110.46611","19.945555"));
        OPT_MAP_TOWN.put(41000100, setTownMap("中西区", "cwarea","114.169486","22.282234"));
        OPT_MAP_TOWN.put(41000200, setTownMap("东区", "eastarea","114.235394","22.276112"));
        OPT_MAP_TOWN.put(41000300, setTownMap("九龙城区", "kowloon","114.200496","22.33195"));
        OPT_MAP_TOWN.put(41000400, setTownMap("观塘区", "kwuntong","114.237032","22.316863"));
        OPT_MAP_TOWN.put(41000500, setTownMap("南区", "southarea","114.185574","22.243145"));
        OPT_MAP_TOWN.put(41000600, setTownMap("深水埗区", "shamshuipo","114.173834","22.333768"));
        OPT_MAP_TOWN.put(41000700, setTownMap("湾仔区", "wanchai","114.184581","22.280047"));
        OPT_MAP_TOWN.put(41000800, setTownMap("黄大仙区", "wongtaisin","114.204835","22.345739"));
        OPT_MAP_TOWN.put(41000900, setTownMap("油尖旺区", "yautsimmong","114.176817","22.309182"));
        OPT_MAP_TOWN.put(41001000, setTownMap("离岛区", "islands","113.953765","22.287228"));
        OPT_MAP_TOWN.put(41001100, setTownMap("葵青区", "kwaitsing","114.139947","22.361147"));
        OPT_MAP_TOWN.put(41001200, setTownMap("北区", "northarea","114.138102","22.508903"));
        OPT_MAP_TOWN.put(41001300, setTownMap("西贡区", "xigong","114.283077","22.383596"));
        OPT_MAP_TOWN.put(41001400, setTownMap("沙田区", "shatin","114.198728","22.385149"));
        OPT_MAP_TOWN.put(41001500, setTownMap("屯门区", "tuenmunt","113.984962","22.395329"));
        OPT_MAP_TOWN.put(41001600, setTownMap("大埔区", "taipo","114.225442","22.290347319"));
        OPT_MAP_TOWN.put(41001700, setTownMap("荃湾区", "tsuenwan","114.12421","22.367006"));
        OPT_MAP_TOWN.put(41001800, setTownMap("元朗区", "yuenlong","114.03056","22.445414"));
        OPT_MAP_TOWN.put(42000100, setTownMap("花地玛堂区", "fatimaparish","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000200, setTownMap("圣安多尼堂区", "stanthonyparish","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000300, setTownMap("大堂区", "thelobby","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000400, setTownMap("望德堂区", "wangdetang","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000500, setTownMap("风顺堂区", "eachparish","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000600, setTownMap("嘉模堂区", "jiadieparish","114.217169","22.314451"));
        OPT_MAP_TOWN.put(42000700, setTownMap("圣方济各堂区", "foa","114.217169","22.314451"));
        OPT_MAP_TOWN.put(43000100, setTownMap("台北市", "taipei","114.13047443557","22.374832928581"));
        OPT_MAP_TOWN.put(43000200, setTownMap("高雄市", "kaohsiung","120.322659","22.623187"));
        OPT_MAP_TOWN.put(43000300, setTownMap("基隆市", "keelung","121.755156","25.134499"));
        OPT_MAP_TOWN.put(43000400, setTownMap("台中市", "taichung","120.657921","24.166199"));
        OPT_MAP_TOWN.put(43000500, setTownMap("台南市", "tainan","120.195994","22.994174"));
        OPT_MAP_TOWN.put(43000600, setTownMap("新竹市", "hsinchu","120.978885","24.810045"));
        OPT_MAP_TOWN.put(43000700, setTownMap("嘉义市", "chiayi","120.464035","23.485163"));
        OPT_MAP_TOWN.put(43000800, setTownMap("台北县", "taipei","121.573815","25.040932"));
        OPT_MAP_TOWN.put(43000900, setTownMap("宜兰县", "yilan","121.773531","24.734568"));
        OPT_MAP_TOWN.put(43001000, setTownMap("桃园县", "taoyuan","121.31146","24.997438"));
        OPT_MAP_TOWN.put(43001100, setTownMap("新竹县", "hsinchu","121.023212","24.82978"));
        OPT_MAP_TOWN.put(43001200, setTownMap("苗栗县", "miaoli","120.830808","24.567755"));
        OPT_MAP_TOWN.put(43001300, setTownMap("台中县", "taichung","120.657921","24.166199"));
        OPT_MAP_TOWN.put(43001400, setTownMap("彰化县", "changhua","120.554454","24.07845"));
        OPT_MAP_TOWN.put(43001500, setTownMap("南投县", "nantou","120.700586","23.905384"));
        OPT_MAP_TOWN.put(43001600, setTownMap("云林县", "yunlin","120.536326","23.702265"));
        OPT_MAP_TOWN.put(43001700, setTownMap("嘉义县", "chiayi","120.303539","23.462316"));
        OPT_MAP_TOWN.put(43001800, setTownMap("台南县", "tainan","120.195994","22.994187"));
        OPT_MAP_TOWN.put(43001900, setTownMap("高雄县", "kaohsiung","120.322655","22.623187"));
        OPT_MAP_TOWN.put(43002000, setTownMap("屏东县", "pingtung","120.498009","22.68689"));
        OPT_MAP_TOWN.put(43002100, setTownMap("澎湖县", "penghu","",""));
        OPT_MAP_TOWN.put(43002200, setTownMap("台东县", "taitung","121.16103","22.758444"));
        OPT_MAP_TOWN.put(43002300, setTownMap("花莲县", "hualian","121.63088","23.994177"));
        OPT_MAP_TOWN.put(46000100, setTownMap("西沙群岛", "xishaislands","111.659012","16.383585"));
        OPT_MAP_TOWN.put(46000200, setTownMap("南沙群岛", "nanshaislands","114.806855","10.665809"));
        OPT_MAP_TOWN.put(46000300, setTownMap("中沙群岛", "zhongshaislands","114.353885","15.845206"));
        fillCityTwonMap();
    }

    public static Map<String, String> setTownMap(final String name, final String en) {
        return ImmutableMap.of("name", name, "en", en);
    }


    public static Map<String, String> setTownMap(final String name, final String en, final String lng, final String lat) {
        return ImmutableMap.of("name", name, "en", en, "lng", lng, "lat", lat);
    }



    private static String getConstantSrc(String code, String name, String en, String lng, String lat) {
        return "OPT_MAP_TOWN.put(" + code + ", setTownMap(\"" + name + "\", \"" + en + "\",\"" + lng + "\",\"" + lat + "\"));" + "\n";
    }
}
